Skip to content

feat: Implement delivery receipts per device and conversation/user ro…#317

Open
Temi709 wants to merge 3 commits into
codebestia:mainfrom
Temi709:feat/delivery-receipts-and-conversation-rooms
Open

feat: Implement delivery receipts per device and conversation/user ro…#317
Temi709 wants to merge 3 commits into
codebestia:mainfrom
Temi709:feat/delivery-receipts-and-conversation-rooms

Conversation

@Temi709

@Temi709 Temi709 commented Jun 30, 2026

Copy link
Copy Markdown

Summary

This PR enhances the messaging infrastructure by introducing per-device delivery receipts and adding conversation and user rooms as a performance optimization layer for real-time messaging.

Changes Made

  • Implemented message_delivered events to support delivery receipts on a per-device basis.
  • Added conversation-based rooms to optimize message routing for active conversations.
  • Added user-specific rooms to improve event targeting across a user's connected devices.
  • Updated the real-time messaging flow to leverage conversation and user room membership.
  • Improved event delivery efficiency by reducing unnecessary message broadcasts.

Benefits

  • Provides more accurate delivery status tracking across multiple user devices.
  • Improves scalability and performance by routing events only to relevant conversation and user rooms.
  • Reduces unnecessary network traffic and server workload.
  • Establishes a more efficient foundation for real-time messaging and future messaging features.

Closes #185
Closes #195

@codebestia codebestia marked this pull request as draft July 1, 2026 03:26
@drips-wave

drips-wave Bot commented Jul 2, 2026

Copy link
Copy Markdown

@Temi709 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Temi709 Temi709 marked this pull request as ready for review July 2, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conversation + user rooms as a performance layer Delivery receipts (message_delivered) per device

1 participant